{include file="admin/header.htm"}
<form action="{$smarty.const.ADMIN_NAME}?m=admin&c=account&a=manage" method="post" name="myform">
<table cellpadding="2" cellspacing="1" class="table_form">
    <caption>编辑管理员</caption>
    <tr>
        <th width="10%"><strong>管理员名称</strong></th>    
        <td>{$member.username}</td>
    </tr>
    <tr>
        <th width="10%"><strong>强制QQ登陆</strong></th>    
        <td><input type="radio" name="force_qq" value="0"{if $member.force_qq neq 1} checked{/if} style="vertical-align:middle;">否 <input type="radio" name="force_qq" value="1"{if $member.force_qq eq 1} checked{/if} style="vertical-align:middle;">是</td>
    </tr>
    <tr>
        <th width="10%"><strong>是否是自由账号</strong></th>    
        <td><input type="radio" name="isfree" value="0"{if $member.isfree neq 1} checked{/if} style="vertical-align:middle;">否 <input type="radio" name="isfree" value="1"{if $member.isfree eq 1} checked{/if} style="vertical-align:middle;">是</td>
    </tr>
    <tr>
        <th width="10%"><strong>用户组</strong></th>    
        <td>
            <select name="groupid">
                {foreach $groups as $group}
                <option value="{$group.groupid}"{if $group.groupid eq $member.groupid} selected{/if}>{$group.groupname}</option>
                {/foreach}
            </select>
        </td>
    </tr>
    <tr>
        <th width="10%"></th>    
        <td><input type="submit" name="doeditgroup" value="确定" class="button_style"></td>
    </tr>
</table>
    <input type="hidden" name="userid" value="{$member.userid}">
</form>

<form action="{$smarty.const.ADMIN_NAME}?m=admin&c=account&a=manage" method="post" name="myform">
<table cellpadding="2" cellspacing="1" class="table_form">
    <caption>重置密码</caption>
    <tr>
        <th width="10%"><strong>密码</strong></th>    
        <td><input type="password" name="password"></td>
    </tr>
    <tr>
        <th width="10%"><strong>确认密码</strong></th>    
        <td><input type="password" name="password_confirm"></td>
    </tr>
    <tr>
        <th width="10%"></th>    
        <td><input type="submit" name="doeditpass" value="确定" class="button_style"></td>
    </tr>
</table>
    <input type="hidden" name="userid" value="{$member.userid}">
</form>
{include file="admin/footer.htm"}